package com.raise.drive.model.domain;

import java.util.List;
import java.util.Set;
import java.util.HashSet;

/**
 * Theme is a theme of the test. It could be "Advanced Java". And it consists of some sections.
 * When test will be run, questions will be getted by random from sections of this theme.
 *
 * Author: Evgeny Morozov
 */
public class Theme extends Persistent {

    /**
     * Title of the theme.
     */
    private String title;

    /**
     * List of the sections with some questions
     */
    private Set<Section> sections = new HashSet<Section>();

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Set<Section> getSections() {
        return sections;
    }

    public void setSections(Set<Section> sections) {
        this.sections = sections;
    }
}
